home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19941031-19941221 / 000446_news@columbia.edu_Thu Dec 15 21:36:18 1994.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA01330
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Thu, 15 Dec 1994 18:12:22 -0500
  3. Received: by apakabar.cc.columbia.edu id AA17213
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Thu, 15 Dec 1994 18:12:20 -0500
  5. Newsgroups: comp.protocols.kermit.misc
  6. Path: news.columbia.edu!sol.ctr.columbia.edu!newsxfer.itd.umich.edu!commando!rja
  7. From: rja@sispro.sis.rpslmc.edu (Roger J. Allen)
  8. Subject: Re: Status line
  9. Message-Id: <1994Dec15.213618.15190@rpslmc.edu>
  10. Sender: news@rpslmc.edu
  11. Nntp-Posting-Host: siss81.rpslmc.edu
  12. Organization: Rush-Presbyterian-St. Luke's Medical Center
  13. X-Newsreader: TIN [version 1.2 PL2]
  14. References: <KSHAW.94Dec8032548@jobe.shell.portal.com>
  15. Date: Thu, 15 Dec 1994 21:36:18 GMT
  16. Lines: 106
  17. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  18.  
  19. kendall thomason shaw (kshaw@jobe.shell.portal.com) wrote:
  20. : Hello,
  21. :     I've not figured out how to get rid of the status line in order to
  22. : have all the lines writable by vi and what not. I can define a 80x49
  23. : screen and toggle the status line, but I'd like to have an 80x50
  24. : screen. If I define an 80x50 screen with vt320 emulation, lynx and vi
  25. : will write to the status line but they don't then erase what they
  26. : write there, and worse yet, lynx scrolls the screen up (down?) with
  27. : the previous status line stuck in the 50th row, and puts a new status
  28. : line in the 49th row. If someone could help me either with
  29. : termcap/terminfo or getting kermit to skip the status line idea, I'd
  30. : be pleased. Here's my termcap entry:
  31.  
  32. : de|vt320|vt320-am|dec vt320:\
  33.      ^^^^^ ^^^^^^^^ ^^^^^^^^^
  34. I use a different term type for Kermit and VT320 since kermit
  35. is just an emulation.  I did not want to break the real vt320.
  36. :     :co#80:li#50:\
  37.                   ^^
  38. Try 49 here.
  39. :     :le=^H:\
  40. :     :am:bs:\
  41. :     :ke=\E[?1l\E>:ks=\E[?1h\E=:\
  42. :     :kl=\EOD:kr=\EOC:kd=\EOB:ku=\EOA:\
  43. :     :kb=^H:\
  44. :     :ho=\E[H:\
  45. :     :k4=\EOS:k3=\EOR:k2=\EOQ:k1=\EOP:\
  46. Do you use the vt300.ini script?  You can define LOTS
  47. of function keys that way.
  48. :     :xn:vt#3:pt:\
  49. :     :sc=\E7:\
  50. :     :rc=\E8:\
  51. :     :im=\E[4h:\
  52. :     :ei=\E[4l:\
  53. :     :mi:\
  54. :     :dc=\E[P:\
  55. :     :ed=:dm=:\
  56. :     :al=\E[L:\
  57. :     :dl=\E[M:\
  58. :     :cs=\E[%i%d;%dr:\
  59. :     :sf=\ED:\
  60. :     :sr=\EM:\
  61. :     :ce=\E[K:\
  62. :     :cl=\E[H\E[J:\
  63. :     :cd=\E[J:\
  64. :     :cm=\E[%i%d;%dH:\
  65. :     :nd=\E[C:\
  66. :     :up=\E[A:\
  67. :     :so=\E[7m:\
  68. :     :se=\E[27m:\
  69. :     :us=\E[4m:\
  70. :     :ue=\E[24m:\
  71. :     :md=\E[1m:\
  72. :     :mr=\E[7m:\
  73. :     :mb=\E[5m:\
  74. :     :me=\E[m:\    
  75. :     :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
  76.                                                   ^^    ^^
  77. try a scrolling region of 49 here.
  78. :     :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
  79. :     :ds=\E[1$}\E[;H\E[K\E[0$:\
  80. :     :fs=\E[0$}:\
  81. :     :ts=\E[1$}\E[;H\E[k:\
  82. :     :hs:es:\
  83. :     :do=^J:
  84.  
  85. Here is what I have for the mode line stuff:
  86.  
  87.     :hs:ts=\E7\E[50;1H:fs=\E[K\E[H\E8:
  88.  
  89. This lets "statline" and other apps
  90. access the mode line,
  91. display text, erase to end of line,
  92. and go back to where it came from.
  93.  
  94. I did not use "es" because I seem to remember
  95. that it did not like some escape sequences
  96. (or maybe it was tabs) in the
  97. mode line, but I might have just copied a different
  98. termcap entry and did not test if "es" would work.
  99. I also left out the "ds".  I don't remember if I
  100. did not need a "ds" or if I was not able to
  101. find a way to disable the status line.
  102.  
  103. There are probably lots of other ways 
  104. to do this.  For instance, you can change
  105. the color if that suits you.
  106.  
  107. --
  108. Roger J. Allen                Rush-Presbyterian-St. Luke's Medical Center
  109. System Administrator                                   Chicago,  IL   USA 
  110. Surgical Information Systems                       Voice:  (312)-942-4825
  111. Internet: rja@sis.rpslmc.edu                         FAX:  (312)-942-3036
  112.  
  113.  
  114. : --
  115.  
  116. : Kendall Shaw                        "!"
  117. : (415)364-asdf
  118. : kshaw@shell.portal.com              
  119.  
  120. --
  121. Roger J. Allen                Rush-Presbyterian-St. Luke's Medical Center
  122. System Administrator                                   Chicago,  IL   USA 
  123. Surgical Information Systems                       Voice:  (312)-942-4825
  124. Internet: rja@sis.rpslmc.edu                         FAX:  (312)-942-3036